﻿using System;


namespace IDEAMS.model
{
    public class RoasterRecord
    {
        public string serialNo { get; set; }
        public string type { get; set; }
        public int channelNum { get; set; }
        public DateTime dateTime { get; set; }


        public RoasterRecord() { }

        public RoasterRecord(RoasterRecord record)
        {
            serialNo = record.serialNo;
            type = record.type;
            channelNum = record.channelNum;
            dateTime = record.dateTime;
        }

        public void Copy(RoasterRecord record)
        {
            serialNo = record.serialNo;
            type = record.type;
            channelNum = record.channelNum;
            dateTime = record.dateTime;
        }

        public RoasterRecord Clone()
        {
            return new RoasterRecord(this);
        }
    }
}
